@inherits RadzenComponentWithChildren

@if (Visible)
{
    <ul @ref=@Element style=@Style @attributes=@Attributes class=@GetCssClass() id=@GetId()>
        @if (Responsive)
        {
        <li class="rz-menu-toggle-item">
            <button class="rz-menu-toggle" @onclick=@OnToggle>
                @if (IsOpen)
                {
                    <i class="rzi">close</i>
                } else
                {

                    <i class="rzi">menu</i>
                }
            </button>
        </li>
        }
        <CascadingValue Value=this>
            @ChildContent
        </CascadingValue>
    </ul>
}
